/**
* @file  在线预览PDF、word、PPT、xsl
* @author: lsfang
*/
<template>
    <div style="width:100%;height:100%">
         
        <iframe style="width:100%;height:800px" :src="imgUrl"></iframe>
    </div>
</template>

<script>
import { downloadimage } from 'common/src/api/minor/minorCulturePlanManager'
export default {
    watch: {},

    data() {
        return {
            imgUrl: ''
        }
    },
    created() {
        let parm = 'face/file/20200929123348128425.pdf'
        downloadimage(parm).then(res => {
            this.imgUrl = res.data.base
        })
    },

    methods: {}
}
</script>
 
 